package com.cloudkinto.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import java.util.Date;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 
 * </p>
 * @author zhujiale
 * @since 2022-12-23
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("t_stock_pick_up")
public class StockPickUpDo extends Model<StockPickUpDo> {

    private static final long serialVersionUID=1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    @TableField("company_id")
    private Long companyId;

    /**
     * 拣货单号
     */
    @TableField("pick_up_number")
    private String pickUpNumber;

    /**
     * 拣货状态 0:待拣货 1:已拣货
     */
    @TableField("status")
    private Integer status;

    @TableField("storage_id")
    private Long storageId;

    @TableField("track_id")
    private Long trackId;

    @TableField("order_type")
    private Integer orderType;

    @TableField("other_rule")
    private String otherRule;

    @TableField("pick_up_by")
    private Long pickUpBy;

    @TableField("pick_up_time")
    private Date pickUpTime;

    @TableField("create_by")
    private Long createBy;

    @TableField("create_time")
    private Date createTime;

    @TableField("update_by")
    private Long updateBy;

    @TableField("update_time")
    private Date updateTime;

    @TableField("claim_by")
    private Long claimBy;


    @TableField("claim_time")
    private Date claimTime;

    /**
     * output || fbaOutput
     */
    @TableField("type")
    private String type;

    @TableField("rule_id")
    private Long ruleId;


    @Override
    protected Serializable pkVal() {
        return this.id;
    }

}
